If you choose to have dired-x.el bind
dired-x-find-file over find-file (see
Find File At
Point), then you will need to set
dired-x-hands-off-my-keys and make a call to the
function dired-x-bind-find-file in the
dired-load-hook:
(add-hook 'dired-load-hook
(lambda ()
(load "dired-x")
;; Bind dired-x-find-file.
(setq dired-x-hands-off-my-keys nil)
;; Make sure our binding preference is invoked.
(dired-x-bind-find-file)
))
Alternatively, you can set the variable before dired-x.el is loaded
(add-hook 'dired-load-hook
(lambda ()
;; Bind dired-x-find-file.
(setq dired-x-hands-off-my-keys nil)
(load "dired-x")
))